package com.example.park_management.entity;
//员工实体类

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Employee {

    private Long id;

    private String name;

    private String sex;

    private  String Dept;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date JoinedDate;



}

